﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Home.Domain.Entities
{
    /// <summary>
    /// 报价
    /// </summary>
    public class Quote
    {
        /// <summary>
        /// 报价Id
        /// </summary>
        [DisplayName("报价Id")]
        public int? Id { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime? SubmitDate { get; set; }
        /// <summary>
        /// 是否提交了报价（0否，1是）
        /// </summary>
        public int? State { get; set; }
        public int? CategoryId { get; set; }
        public virtual Category CategoryEntitis { get; set; }
        public int? BrandId { get; set; }
        public virtual Brand BrandEntitis { get; set; }
        public int? QuoteProductId { get; set; }
        public virtual ICollection<QuoteProduct> QuoteProducts { get; set; }
    }
}
